<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>关闭小广告</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        #qe_code {
            width: 300px;
            height: 300px;
            margin: 300px;
            position: relative;
        }
        #qe_code img {
            position: relative;
        }
        #close {
            width: 18px;
            height: 18px;
            position: absolute;
            border: 1px solid #666;
            line-height: 18px;
            text-align: center;
            cursor: pointer;
            color: #666;
            left: -18px;
            top: 0;
        }
    </style>
</head>
<body>
    <div id="qe_code">
        <img src="images/1.png" id="code">
        <span id="close">X</span>
    </div>
    <script>
        var closeSpan=document.getElementById('close');
        var qe_code=document.getElementById('qe_code');      
        closeSpan.onclick=function(){
            qe_code.style.display='none';
        }
    </script>
</body>
</html>